home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / dobbs / jan94 / frief103.gif < prev    next >
Graphics Interchange Format  |  1996-06-11  |  130KB  |  821x423  |  4-bit (16 colors)
Labels: text | diagram | screenshot | number | parallel | font | line | plan
OCR: Root Code Common Code Worker Code C main ROOT_INTERFACE Root and worker; Worker INTERFACE Sets up shared memory Fortran run time Sets up memory for worker side Determines modole number Processes: Determines module number Command Line MAIN_PAR Receives: Fortran MAIN Pointer to shared memory Determines: Number of modules Root module number Shared common ROOT_DISPATCH Manages exchanges between root and workers Contains: organization Contains main switch statement. Fortran signal routines Fortran cache flush Fortran page table controi ROOT INIT_MCBS User's reusable shared common ROOT WORKER_START WORKER_SET UP. Passes parameters in MCBs to worker Receives parameters from MCBs Proprocossos data if required Contains main worker switch User's static shared common ROOT FINISH Post procoss. COMPUTATION Shared COMMON if required Performs calculation on both root and worker MCBs Figure 3: Flow of parallel Fortran shared memory with inset of shared-memory organization.